package net.cyue.homework.student.management.dto;

import jakarta.validation.constraints.NotBlank;

public class MajorAddDTO {
    @NotBlank
    private String name;
    public MajorAddDTO() {}
    public MajorAddDTO(String name) {
        this.name = name;
    }

    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
}
